package com.ruoyi.mapper;


import com.github.pagehelper.Page;
import com.ruoyi.entity.DTO.LegalAidLawyerDTO;
import com.ruoyi.entity.LegalAidLawyer;
import com.ruoyi.entity.vo.LegalAidLawyerVO;
import org.apache.ibatis.annotations.Select;

/**
 * 律师信息Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-09
 */
public interface LegalAidLawyerWxMapper
{
    /**
     * 查询律师信息列表
     *
     * @param legalAidLawyerDTO 律师信息
     * @return 律师信息集合
     */
    public Page<LegalAidLawyerVO> selectLegalAidLawyerList(LegalAidLawyerDTO legalAidLawyerDTO);

    LegalAidLawyer selectLegalAidLawyerById(Long id);
     @Select("select  * from legal_aid_lawyer where openid = #{openid}")
    LegalAidLawyer getByOpenid(String openid);


}
